<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>提交订单</title>
    <link rel="stylesheet" href="__STATIC_URL__/static/mobile/css/weui.css" />
</head>
<style type="text/css">

    body{
        background: #F8F8F8;
    }
    .weui-media-box_appmsg .weui-media-box__hd{
        width:80px;
        height: 80px;
    }
</style>
<body>
<div class="container" id="container">
    <div class="weui-panel weui-panel_access">
        <div class="weui-panel__hd" style="background: #F8F8F8;">请修改确认收货信息：</div>
        <div class="weui-panel__bd">
            <a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__hd">
                    <img class="weui-media-box__thumb" src="{$goods.goods_img}" alt="">
                </div>
                <div class="weui-media-box__bd">
                    <p >商品名称：{$goods.goods_name}</p>
                    <p class="jifen" style="font-size: 14px;color: #999;">积分:<span style="color: #e4393c;">{$goods.goods_price}</span></p>
                    <p style="color: #999;font-size: 12px;">库存：{$goods.stock}</p>
                </div>
            </a>
        </div>
    </div>
    <div class="weui-panel" style="margin-top: 10px;">
        <div class="weui-panel__hd">商品描述：</div>
        <div class="weui-panel__bd">
            <div class="weui-media-box weui-media-box_text">
                <h4 class="weui-media-box__title">{$goods.goods_name}</h4>
                <p class="weui-media-box__desc">{$goods.show}</p>
                <ul class="weui-media-box__info">
                    <li class="weui-media-box__info__meta">兑换时间：{$goods.begin_time|date="Y-m-d",###}至{$goods.end_time|date="Y-m-d",###}</li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="weui-cells weui-cells_form">
    <form method="post" action="" >
        <input type="hidden" name="card_id" value="{$user.card_id}">
        <input type="hidden" name="code" value="{$user.code}">
        <input type="hidden" name="name" value="{$goods.goods_name}">
        <input type="hidden" name="openid" value="{$user.openid}">
        <input type="hidden" name="uid" value="{$user.id}">
        <input type="hidden" name="mid" value="{$user.mid}">
        <input type="hidden" name="number" value="1">
        <input type="hidden" name="gid" value="{$goods.id}">
        <input type="hidden" name="goods_price" value="{$goods.goods_price}">
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">收货地址</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" name="address" value="{$user.address}">
            </div>
        </div>
        <div class="weui-cell" style="border-bottom: 1px solid #D9D9D9;margin-bottom: 10px">
            <div class="weui-cell__hd"><label class="weui-label">手机号</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" name="phone" value="{$user.phone}" placeholder="请输入您的常用手机号">
            </div>
        </div>
        <div style="padding: 15px;">
            <button class="weui-btn weui-btn_primary" type="submit" value="提交">提交订单</button>
        </div>
    </form>
</div>


</div>
</body>

</html>
